package com.itlaobing.metadata;

public class SS {
    public static void main(String[] args) {
       /* int i =8 ,j=16;
        if (i-1>16) i--;
        else j--;
        System.out.println(i);*/

        /*int sum=0;
        for (int i = 1; i <=100 ; i++) {
            if (i%2!=0) continue;
             sum += i;
        }
        System.out.println(sum);*/

        /*int count =0;
        for (int i = 1; i <=100 ; i++) {
            if(i%2 !=0){
                count++;
                continue;
            }
        }
        System.out.println(count);*/

        // System.out.println(4%3);

        int x;
            int y;
            for (x = 1, y=1; x <= 100; x++) {
            if(y>=20)break;
            if (y%3==1){
                y += 3;
                continue;
            }
            y -=5;
        }
        System.out.println(x +","+y);
    }
}
